package org.farm.pojo;

import lombok.Data;

@Data
public class TempHumidityData {
    private Double temperature;
    private Double humidity;

    public TempHumidityData(Double temperature, Double humidity) {
        this.temperature = temperature;
        this.humidity = humidity;
    }

    @Override
    public String toString() {
        return "{\"temperature\": " + temperature + ", \"humidity\": " + humidity + "}";
    }
}